﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class HumanInterface : MonoBehaviour
{
    /// <summary>
    /// 接受伤害
    /// </summary>
    /// <param name="dmg">伤害值</param>
    /// <param name="force">击退力</param>
    /// <param name="position">施力方向</param>
    public virtual void TakeDamage(float dmg, float force, float forceTime, Vector3 position,int id=-1)
    {
        Debug.LogError("我的天呐，你怎么调用了虚方法");
    }
}
